<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width" />
    <title>菜鸟教程</title>
  </head>
  <body>
    <script type="text/javascript">
      console.log("你好");

      sayHello();

      function sayHello() {
        console.log("你好啊");
        document.write("你好啊");
      }
    </script>
  </body>
</html>
